import 'package:flutter_ahj_app/base/basewidget/HttpUtils/HttpBaseConst.dart';

/**
 * http请求BaseUrl
 */

class HttpKCBaseConst {
  //h5地址base
// static String baseH5Url = "http://www.xinanyun.cn/"; //生产环境
  //接口服务器地址test
//  static String serverUrl = "https://jyapi.ahjtest.top/"; //测试
// static String serverUrl = "https://jyapi.ahjtest.top/"; //测试
// static String serverUrl = "http://jyapi.test01.xinanyun.cn/"; //测试
//  static String serverUrl = "http://jiaoyu.t.ebaiqiao.com/"; //测试


 /*
 *
 *    String encodeUrl = Uri.encodeComponent(base64Encode(utf8.encode(downUrl)));
        String webUrl =
            "https:\u002f\u002ffileview.anhuanjia.com\u002fonlinePreview?url=$encodeUrl";
 *
 *
 * */

 static String serverUrl = HttpBaseConst.serverUrl=="https://api.xinanyun.cn/"?'https://jyapi.xinanyun.cn/':'http://jyapi.test01.ahjtest.top/';//生产环境、
static String shareHtppUrl = 'http://leaflet.anhuanjia.com/#/';//分享的H5地址
}
